package com.fast.services;

import com.fast.entity.SysUser;
import com.fast.utils.service.BaseService;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * Created by xiehaitao on 2017/9/6.
 */
public interface SysUserService extends BaseService<SysUser> {
    List<String> queryAllPerms(Long userId);


    int updatePassword(@Param("userId") Long userId,@Param("password") String password, @Param("newPassword") String newPassword);
}
